﻿#region
using System;
using System.ComponentModel;
using DevExpress.XtraEditors;

#endregion

namespace DevTools.AndroidLayoutHelper
{
    public partial class TemplateControl : XtraUserControl
    {
        public TemplateControl()
        {
            InitializeComponent();
        }

        [DefaultValue(0)]
        public int No { get; set; }

        public string Template
        {
            get { return mmeTmeplate.Text; }
            set { mmeTmeplate.Text = value; }
        }

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            if (DesignMode)
                return;

            lblLabel.Text = string.Format("템플릿 {0}", No);
        }
    }
}